<template>
    <div>
        <el-row>
            <div v-for="(item, i) in rowData" :key="item[rowKey]">
                <div v-if="(i === 0)">
                    <el-col :span="4">
                        <plant-item :plant="item"></plant-item>
                    </el-col>
                </div>
                <div v-else>
                    <el-col :span="4" :offset="1">
                        <plant-item :plant="item"></plant-item>
                    </el-col>
                </div>
            </div>

        </el-row>
    </div>
</template>

<script>
import PlantItem from "./PlantItem.vue";
const options = {
    props: ["rowData", "rowKey"],
    data() {
        return {

        }
    },
    components: {
        PlantItem
    }

}

export default options;
</script>